package tech.aistar.entity.personal;



import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;


/**
 * Created by LJX on 2019/9/23.
 * 订单实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Purchase implements Serializable{
    private Integer id;
    private String ordno;//订单编号

    private Date time;//订单时间
    private Integer userId;//用户id
    private Integer ordercancel;//用户是否取消订单，0取消
    private Integer status;//是否删除订单/1，删除
    private Integer payment;//订单状态，是否付款，0已付款
    private Double ordmoney;//订单金额

    private Integer commentId;//评论id





}
